#pragma once

#include "Value.h"

class Object;

enum conditionID {PLAYERHURT, HASGUN, GUNAIMED, WANTSOBJ, HASOBJ, ATOBJ, CANGETOBJ, CANTGETOBJ, NONE};

struct Condition
{
	conditionID ID;
	Object * Subject;

	value active;

	bool EvaluateValues(value val);

	Condition(){}
	Condition(conditionID _id, value val){ID = _id; active = val; Subject = 0;}
	Condition(conditionID _id){ID = _id; active.b_value = false; Subject = 0;}
	~Condition(){}

};